package com.echo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 题目类别表
 * </p>
 *
 * @author echo
 * @since 2024-10-31
 */
@TableName("question_category")
public class QuestionCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 问题类别表的主键
     */
    @TableId(value = "question_category_id", type = IdType.AUTO)
    private Integer questionCategoryId;

    /**
     * 问题类别名称
     */
    private String questionCategoryName;

    /**
     * 问题类别的描述
     */
    private String questionCategoryDescription;

    public Integer getQuestionCategoryId() {
        return questionCategoryId;
    }

    public void setQuestionCategoryId(Integer questionCategoryId) {
        this.questionCategoryId = questionCategoryId;
    }
    public String getQuestionCategoryName() {
        return questionCategoryName;
    }

    public void setQuestionCategoryName(String questionCategoryName) {
        this.questionCategoryName = questionCategoryName;
    }
    public String getQuestionCategoryDescription() {
        return questionCategoryDescription;
    }

    public void setQuestionCategoryDescription(String questionCategoryDescription) {
        this.questionCategoryDescription = questionCategoryDescription;
    }

    @Override
    public String toString() {
        return "QuestionCategory{" +
            "questionCategoryId=" + questionCategoryId +
            ", questionCategoryName=" + questionCategoryName +
            ", questionCategoryDescription=" + questionCategoryDescription +
        "}";
    }
}
